package com.aspose.cells;

class zkv implements zagg {
   private WorksheetCollection a;
   private double b;
   private zla c;

   zkv(Cells var1, int var2) {
      this.a = var1.r();
      this.b = (double)this.a.L();
      this.c = new zla(var1, var2, new zky(100.0D));
   }

   public int a(int var1) {
      return zkp.b((double)this.c.a(var1) / 100.0D, this.a);
   }

   public double b(int var1) {
      return (double)zkp.b((double)this.c.a(var1) / 100.0D, this.a) / this.b;
   }

   public double a(int var1, int var2) {
      return (double)this.c.a(var1, var2) / 100.0D;
   }

   public int b(int var1, int var2) {
      return zkp.b((double)this.c.a(var1, var2) / 100.0D, this.a);
   }

   public void a(int[] var1) {
      var1[1] = (int)(zkp.a((double)var1[1], this.a) * 100.0D);
      var1[2] = (int)(zkp.a((double)var1[2], this.a) * 100.0D);
      this.c.a(var1);
      var1[1] = zkp.b((double)var1[1] / 100.0D, this.a);
      var1[2] = zkp.b((double)var1[2] / 100.0D, this.a);
   }
}
